package com.yunyike.model;

import java.util.Date;

public class Rule {
    private String ruleId;

    private Integer ruleType;

    private Double ruleTotalOver;

    private Double ruleDiscount;

    private Double ruleDiscountRate;

    private Double ruleStraightDownAmount;

    private Date ctime;

    private Date mtime;

    public String getRuleId() {
        return ruleId;
    }

    public void setRuleId(String ruleId) {
        this.ruleId = ruleId == null ? null : ruleId.trim();
    }

    public Integer getRuleType() {
        return ruleType;
    }

    public void setRuleType(Integer ruleType) {
        this.ruleType = ruleType;
    }

    public Double getRuleTotalOver() {
        return ruleTotalOver;
    }

    public void setRuleTotalOver(Double ruleTotalOver) {
        this.ruleTotalOver = ruleTotalOver;
    }

    public Double getRuleDiscount() {
        return ruleDiscount;
    }

    public void setRuleDiscount(Double ruleDiscount) {
        this.ruleDiscount = ruleDiscount;
    }

    public Double getRuleDiscountRate() {
        return ruleDiscountRate;
    }

    public void setRuleDiscountRate(Double ruleDiscountRate) {
        this.ruleDiscountRate = ruleDiscountRate;
    }

    public Double getRuleStraightDownAmount() {
        return ruleStraightDownAmount;
    }

    public void setRuleStraightDownAmount(Double ruleStraightDownAmount) {
        this.ruleStraightDownAmount = ruleStraightDownAmount;
    }

    public Date getCtime() {
        return ctime;
    }

    public void setCtime(Date ctime) {
        this.ctime = ctime;
    }

    public Date getMtime() {
        return mtime;
    }

    public void setMtime(Date mtime) {
        this.mtime = mtime;
    }
}